﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Teacher : Person
    {
       public string title;
        public  int wageno;

        public void a(string title,int wageno) {
            this.wageno = wageno;
            this.title = title;
        }
        public void Aa()
        {
            Console.WriteLine("编号{0},姓名{1},性别{2},身份证{3},电话号码{4},我的工资号{5},我的职称{6}", this.id, this.name, this.sex, this.cardid, this.tel, this.wageno, this.title);
        }
    }
}
